// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package org.achartengine.model; import java.util.ArrayList; import java.util.List; // Referenced classes of package org.achartengine.model: // CategorySeries, XYSeries public class RangeCategorySeries extends CategorySeries { private List a; public RangeCategorySeries(String s) { super(s); a = new ArrayList(); } public void add(double d, double d1) { this; JVM INSTR monitorenter ; super.add(d); a.add(Double.valueOf(d1)); this; JVM INSTR monitorexit ; return; Exception exception; exception; throw exception; } public void add(String s, double d, double d1) { this; JVM INSTR monitorenter ; super.add(s, d); a.add(Double.valueOf(d1)); this; JVM INSTR monitorexit ; return; Exception exception; exception; throw exception; } public void clear() { this; JVM INSTR monitorenter ; super.clear(); a.clear(); this; JVM INSTR monitorexit ; return; Exception exception; exception; throw exception; } public double getMaximumValue(int i) { return ((Double)a.get(i)).doubleValue(); } public double getMinimumValue(int i) { return getValue(i); } public void remove(int i) { this; JVM INSTR monitorenter ; super.remove(i); a.remove(i); this; JVM INSTR monitorexit ; return; Exception exception; exception; throw exception; } public XYSeries toXYSeries() { XYSeries xyseries = new XYSeries(getTitle()); int i = getItemCount(); for (int j = 0; j < i; j++) { xyseries.add(j + 1, getMinimumValue(j)); xyseries.add(1.0000009999999999D + (double)j, getMaximumValue(j)); } return xyseries; } }